Skip to main content

API Events

Events list from the TFTPDF API.

How to add eventListenner ?

Please go to the installation guide to see how to register to the API events. TODO: add link

API

  • annotationAskForComment ⇒ JSON
  • colorUpdated ⇒ JSON
  • colorNumberUpdated ⇒ JSON
  • commentSet ⇒ JSON
  • confirmDelete ⇒ JSON
  • getInfo ⇒ JSON
  • numberUpdated ⇒ JSON
  • pageUpdated ⇒ JSON
  • sceneLoaded ⇒ JSON
  • screenshot ⇒ JSON
  • startMoveMode ⇒ JSON
  • stopMoveMode ⇒ JSON
  • zoomUpdated ⇒ JSON
  • downloadPdfReady ⇒ JSON

Annotations

  • annotationCreated ⇒ JSON
  • annotationUpdated ⇒ JSON
  • annotationSelected ⇒ JSON
  • annotationUnselected ⇒ JSON
  • annotationDeleted ⇒ JSON
  • annotationLoaded ⇒ JSON

Perimeter

  • measurePerimeterCreated ⇒ JSON
  • measurePerimeterSelected ⇒ JSON
  • perimeterUnselected ⇒ JSON
  • perimeterDeleted ⇒ JSON

Measure

  • measureCreated ⇒ JSON
  • measureCalibrated ⇒ JSON
  • measureCalibratedError ⇒ JSON
  • measureSelected ⇒ JSON
  • measureUnselected ⇒ JSON
  • measureDeleted ⇒ JSON

Area

  • measureAreaCreated ⇒ JSON
  • measureAreaSelected ⇒ JSON
  • areaUnselected ⇒ JSON
  • areaDeleted ⇒ JSON
  • Calibration
  • calibrationSelected ⇒ JSON
  • calibrationUnselected ⇒ JSON
  • calibrationDeleted ⇒ JSON
  • calibrationReseted ⇒ JSON